package member;

import java.io.*;
import common.db.*;
import common.main.*;

public class PointBean extends MainBean
{
	public void funcExecute() throws Exception
	{
		String id = (String)inputTable.get("id");
		String point = (String)inputTable.get("point");
		String client = (String)inputTable.get("client");
		System.out.println(point);
		queryBuffer = new StringBuffer("");
		queryBuffer.append("INSERT INTO POINT (");
		queryBuffer.append("SEQ, ID, POINT_VALUE, POINT_START_DATE, REG_ID, REG_DATE, REG_IP, UPD_ID, UPD_DATE, UPD_IP, USEYN ");
		queryBuffer.append(") VALUES (");
		queryBuffer.append("POINT_SEQ.NEXTVAL, '"+id+"', '"+point+"', SYSDATE, '"+id+"', SYSDATE, '"+client+"', '"+id+"', SYSDATE, '"+client+"', 'Y'");
		queryBuffer.append(")");

		DBExecute dbe = new DBExecute(queryBuffer.toString());
		outputList = dbe.getDataList();
	}
}